home *** CD-ROM | disk | FTP | other *** search
- CDROM Jukebox V1.0 (beta)
- written by Aaron Johnson
-
- CDROM Jukebox is a program I wrote intended to play music CD's in a Multi-
- Disk CDRom Drive, however it will work with single disk players too.
-
- This program is not intended to play CD's in the background, if that is what
- you want, then you should look for my other program called CDCTRL.
-
- What this program does do is play CD's either once, continuously, or on
- shuffle play. While it is playing a CD, it will display a PCX picture file
- of your choosing if you so desire. Since it displays a picture, you need to
- have at least a standard VGA adapter and monitor to see it. The pictures are
- displayed in mode 18h, which is 640x480x16.
-
- USAGE: JUKEBOX once - Plays all CD's from start to finish once.
- JUKEBOX continuous - Plays all CD's from start to finish continuously.
- JUKEBOX shuffle - Shuffle plays all songs on all CD's once.
- JUKEBOX eject - Ejects CD.
- JUKEBOX enter - Lets to enter info for All CD's in drive.
- JUKEBOX info - Displays info on file for all CD's in drive.
-
- While playing CD's, you may press any key and skip the song currently
- playing, or press the ESC key to exit the program.
-
- I will assume the first four options are self explanitory, and skip to the
- fifth one.
-
- JUKEBOX enter
- -------------
- This allows you to enter the name, picture, and song titles for all CD's in
- the drive. If a CD is already on file, you will be told so, and you may
- leave the current information alone or change it. The picture file must
- be a 16 color PCX file, and I recommend you do not exceed 640 x 430. If a
- picture is smaller than that, it will be centered. If it is larger than 640
- pixels wide, I don't know what happens (I said this was a beta, didn't I?)
- and if it's taller than 430 pixels the CD name, song title, track info, and
- timer will probably not display properly. The name, etc., start at line 432
- so 430 leaves 2 pixels for a top margin. Also, it is drawn in color 15, and
- if you followed my advice about the picture height, the background color
- would be 0. If you didn't, then the background would be the picture and if
- you design it so color 15 shows up ok against it then you should have no
- problem. I was able to actually scan the CD album covers in 16-color gray
- scale and they looked quite nice. If the program doesn't like your PCX file
- for some reason, or you have a GIF or other file that you want to use, I
- suggest using VPIC by Bob Montgomery to view the picture, then tap "Z" to
- save it in the proper PCX format. If you do not enter information for a CD,
- the program will display the supplied "JUKEBOX.PCX" file which I designed
- myself. Obviously, no entry means no name or song title will be displayed.
-
-
- JUKEBOX info
- ------------
- This will display the information you entered for all CD's in the drive, or
- tell you that information for a CD is not on file. That way if you don't
- remember if you entered a CD, you can check. The display will pause between
- CD's so you can read it.
-
- The datafile
- ------------
- The CD information is kept in a textfile called JUKEBOX.DAT. If you wish,
- you may edit this file manually to change information instead of using the
- "JUKEBOX enter" command. The format is as follows, with the actual data in
- quotes, and numeric values represented by the "#" symbol. All numeric
- values MUST have all digits. If you want a "1" and it says "##", use "01":
-
- "##############" A 14-digit CD Code. Every entry starts with the CD code.
- You can get this by typing "JUKEBOX info". Because of
- the way the program scans the data file, you may have
- codes follow each other on separate lines. We had to do
- this when we had two CD's that were the same, but one
- came from a store and one came from a club, and they had
- different codes. Basically the program looks at every line
- until it finds the code for your CD, then it looks for the
- next pieces of information, discarding any lines that don't
- start with "name","file","track",or "end".
-
- "name My Favorite CD" The name of your CD
-
- "file JUKEBOX.PCX" The name of the PCX file associated with your CD.
-
- "track ## This is my favorite song" the song title for track ##.
-
- "end" denotes the end of the information for this CD.
-
-
-
- The "name","file", and "track ##" entries may be in any order. If you have
- two of one entry like two "name" or two "track 02" entries, the last one will
- replace the previous one.
-
- I have included a sample data file with this program so you may examine it
- if you have more questions.
-
-
-
- Known Bugs:
- -----------
- The only thing I've noticed is that the routines that find the
- start and end of tracks may sometimes be a little off. This is because the
- function that returns the starting and ending values uses a different scheme
- than the function that says "play from this point to this point", and I have
- no idea how to fix this at this time.
-
- Future Enhancements that may or may not happen depending on how much people
- scream for them:
- ---------------------------------------------------------------------------
- 256 color picture display (GIF and PCX)
- Windows Version
-
-
- I can be reached through the following:
- Compu$erve: Aaron Johnson, 75470,3627
- Internet: ajohnson@ucrmath.ucr.edu
- or: ajohnson@math.ucr.edu <-- they told me it was changing to this but
- I don't think they ever made it work.
-
-
-